function pupil_gaze = parseGaze(pupil_gaze, NAME)

for  i = 1:length(pupil_gaze.info.desc.channels.channel)
    pupil_gaze.channels{i,1} =  pupil_gaze.info.desc.channels.channel{i}.label;
end

Pupil2D = [pupil_gaze.time_series(19:20,:); pupil_gaze.time_stamps(1,:)];
Pupil3D = [pupil_gaze.time_series(21:22,:); pupil_gaze.time_stamps(1,:)];


save(strcat('./ToUpload/PupilData_',NAME),'Pupil2D','Pupil3D')

%need to clean up some of the pupil diameter channels.  
%need to add a blink index?  
% look into the difference between 2d and 3d models with regards to the
% diameter measurements
% - Also need to get an illumination measure from the world camera